.class Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiAdaptor$InterstitiaInmobiListener;
.super Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiAdaptor$AbstractInmobiListener;
.source "InmobiAdaptor.java"

# interfaces
.implements Lcom/inmobi/androidsdk/IMAdInterstitialListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiAdaptor;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xa
    name = "InterstitiaInmobiListener"
.end annotation


# instance fields
.field private final mIsPrecacheRequest:Z


# direct methods
.method constructor <init>(Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiAdaptor;Z)V
    .locals 1
    .parameter "adaptor"
    .parameter "isPrecacheRequest"

    .prologue
    .line 222
    const/4 v0, 0x1

    invoke-direct {p0, p1, v0}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiAdaptor$AbstractInmobiListener;-><init>(Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiAdaptor;Z)V

    .line 223
    iput-boolean p2, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiAdaptor$InterstitiaInmobiListener;->mIsPrecacheRequest:Z

    .line 224
    return-void
.end method


# virtual methods
.method public onAdRequestFailed(Lcom/inmobi/androidsdk/IMAdInterstitial;Lcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V
    .locals 0
    .parameter "adInterstitial"
    .parameter "errorCode"

    .prologue
    .line 240
    invoke-virtual {p0, p2}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiAdaptor$InterstitiaInmobiListener;->handleFailureCallback(Lcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V

    .line 241
    return-void
.end method

.method public onAdRequestLoaded(Lcom/inmobi/androidsdk/IMAdInterstitial;)V
    .locals 2
    .parameter "adInterstitial"

    .prologue
    .line 228
    iget-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiAdaptor$InterstitiaInmobiListener;->mIsPrecacheRequest:Z

    if-nez v0, :cond_1

    .line 229
    sget-object v0, Lcom/inmobi/androidsdk/IMAdInterstitial$State;->READY:Lcom/inmobi/androidsdk/IMAdInterstitial$State;

    invoke-virtual {p1}, Lcom/inmobi/androidsdk/IMAdInterstitial;->getState()Lcom/inmobi/androidsdk/IMAdInterstitial$State;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/inmobi/androidsdk/IMAdInterstitial$State;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 230
    const-string v0, "Inmobi interstitial ad is not in READY state."

    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiAdaptor$InterstitiaInmobiListener;->handleFailureCallback(Ljava/lang/String;)V

    .line 236
    :goto_0
    return-void

    .line 233
    :cond_0
    invoke-virtual {p1}, Lcom/inmobi/androidsdk/IMAdInterstitial;->show()V

    .line 235
    :cond_1
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiAdaptor$InterstitiaInmobiListener;->handleSuccessCallback()V

    goto :goto_0
.end method

.method public onDismissAdScreen(Lcom/inmobi/androidsdk/IMAdInterstitial;)V
    .locals 1
    .parameter "adInterstitial"

    .prologue
    .line 245
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiAdaptor$InterstitiaInmobiListener;->handleInterstitialState(Z)V

    .line 246
    return-void
.end method

.method public onLeaveApplication(Lcom/inmobi/androidsdk/IMAdInterstitial;)V
    .locals 0
    .parameter "adInterstitial"

    .prologue
    .line 255
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiAdaptor$InterstitiaInmobiListener;->triggerClickEvent()V

    .line 256
    return-void
.end method

.method public onShowAdScreen(Lcom/inmobi/androidsdk/IMAdInterstitial;)V
    .locals 1
    .parameter "adInterstitial"

    .prologue
    .line 250
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/burstly/lib/component/networkcomponent/inmobi/InmobiAdaptor$InterstitiaInmobiListener;->handleInterstitialState(Z)V

    .line 251
    return-void
.end method
